package com.jemmyee.shop.entity;

// default package

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * @Description:订单操作
 * @author:jemmyee@gmail.com
 * @date:2011-4-1
 * @version:v1.0
 */
@Entity
@Table(name = "so_order_action")
public class OrderAction implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer orderId;
	private String actionUser;
	private Short orderStatus;
	private Short shippingStatus;
	private Short payStatus;
	private Short actionPlace;
	private String actionNote;
	private Date logTime;


	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "order_id")
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "action_user", length = 30)
	public String getActionUser() {
		return this.actionUser;
	}

	public void setActionUser(String actionUser) {
		this.actionUser = actionUser;
	}

	@Column(name = "order_status")
	public Short getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Short orderStatus) {
		this.orderStatus = orderStatus;
	}

	@Column(name = "shipping_status")
	public Short getShippingStatus() {
		return this.shippingStatus;
	}

	public void setShippingStatus(Short shippingStatus) {
		this.shippingStatus = shippingStatus;
	}

	@Column(name = "pay_status")
	public Short getPayStatus() {
		return this.payStatus;
	}

	public void setPayStatus(Short payStatus) {
		this.payStatus = payStatus;
	}

	@Column(name = "action_place")
	public Short getActionPlace() {
		return this.actionPlace;
	}

	public void setActionPlace(Short actionPlace) {
		this.actionPlace = actionPlace;
	}

	@Column(name = "action_note")
	public String getActionNote() {
		return this.actionNote;
	}

	public void setActionNote(String actionNote) {
		this.actionNote = actionNote;
	}

	@Column(name = "log_time", length = 0)
	public Date getLogTime() {
		return this.logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

}